import request from '@/utils/request'

export function fetchOrderList(query) {
  return request({
    url: '/merchantRechargeOrder/list',
    method: 'get',
    params: query
  })
}

export function getTotalMoney(query) {
  return request({
    url: '/merchantRechargeOrder/totalMoney',
    method: 'get',
    params: query
  })
}

export function fetchOrderListByBackend(query) {
  return request({
    url: '/merchantBackendRecharge/list',
    method: 'get',
    params: query
  })
}

export function getTotalMoneyByBackend(query) {
  return request({
    url: '/merchantBackendRecharge/totalMoney',
    method: 'get',
    params: query
  })
}
